//
//  YBKPPTCell.m
//  FromDefinesTheModule
//
//  Created by  liyang on 15/6/14.
//  Copyright (c) 2015年 liyang. All rights reserved.
//

#import "YBKPPTCell.h"

@implementation YBKPPTCell

-(instancetype)init{
    if (self=[super init]) {
        
    }
    return self;
}

-(instancetype)initWithFrame:(CGRect)frame{
    if (self=[super initWithFrame:frame]) {
      self.imageView=  [[UIImageView alloc]initWithFrame:self.bounds];
        _imageView.contentMode=UIViewContentModeScaleAspectFill;
        [self addSubview:_imageView];
    }
    return self;
}
-(void)setModel:(NSString *)model{

    [_imageView sd_setImageWithURL:[NSURL URLWithString:model] ];
}
@end
